package com.cn.lottery.Server;

import java.util.List;
import java.util.Map;

import com.cn.lottery.domain.LotteryDO;
import com.cn.lottery.domain.PersionLotterVO;
import com.cn.lottery.domain.PrizeDO;
import com.cn.lottery.domain.TimeSettingDO;

public interface Server{

	Map lotteryStart(String openid);
	
	List<LotteryDO> searchGiftList(Integer timeIndex);
	
	List<TimeSettingDO> searchTimeSetting();
	
	List<PersionLotterVO> searchLottery(String  openid);
	
	List<PrizeDO> searchPrize(Integer timeIndex);
	
	void createPrize(Integer timeIndex);
}
